<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>我</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="renderer" content="webkit|ie-comp|ie-stand" />
    <link rel="shortcut icon" href="/favicon.ico" type="/image/x-icon">
    <link rel="apple-touch-icon-precomposed" href="">
    <link rel="stylesheet" href="../source/src/css/main.css"/>
    
</head>
<body class="me-body">
<img src="../source/img/public/me_bg.jpg" alt="login_bg.jpg" class="login-bg">
<div class="me-page">
    <div class="user-info">
        <div class="pt">
            <img src="../source/img/public/user_pt.png" alt="">
        </div>
        <div class="other-info text-c">
            <div class="custName" id="custName">
            </div>
            <div class="phone" >
                服务热线：<span id="phone-num"></span>
            </div>
        </div>
    </div>

    <ul class="link-box" id="link-box">
        <li>
            <a href="my_order.html?v=210823" id="my-order-link">
                我的订单
            </a>
        </li>
        <li>
            <a href="my_favorites.html">
                我的收藏
            </a>
        </li>
        <li>
            <a href="reset_pwd.html">
                修改密码
            </a>
        </li>
    </ul>
</div>

<!--底部菜单-->
<div class="pub-nav">
    <ul>
        <li>
            <a href="../index.html">
                <div class="index pic"></div>
                <div class="txt">首页</div>
            </a>
        </li>
        <li>
            <a href="./shop_cart.html?v=210818">
                <div class="shopCart pic"></div>
                <div class="txt">购物车</div>
            </a>
        </li>
        <li class="on">
            <a href="./me.html">
                <div class="me pic"></div>
                <div class="txt">我</div>
            </a>
        </li>
    </ul>
</div>
<!--/底部菜单-->

<script src="../source/plugin/zepto.min.js"></script>
<script src="../source/src/js/common.js"></script>
<script>
    $(function(){
        var load = {
            render:function(){
                //基本信息
                var custName = decodeURIComponent(getCookie('CustName'));
                //链接地址
                var type = getCookie('Type');
                
                if(type=="True"){
                    custName = decodeURIComponent(getCookie('EmpName'));
					$('#my-order-link').attr('href','./audit_order.html?v=210818')
                 }
                custName && $('#custName').html(custName);

                var phoneNum = getCookie('phoneNum');
                phoneNum && $('#phone-num').html(phoneNum);
            },
            init:function(){
                this.render();
            }
        };
        load.init();
    });
</script>
</body>
</html>